package com.zzl.study.demo.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 测试API接口
 *
 * @author: zhangzl
 * @date: 2025/7/17 9:46
 * @version: 1.0
 */
@FeignClient(name = "micro-service-multi-discovery-demo-b", path = "/test")
public interface TestApi {

    @GetMapping("/hello")
    String hello(@RequestParam("name") String name);

}
